package com.hzlx.dao;

import com.hzlx.entity.TBusinessInfo;

import java.math.BigDecimal;
import java.util.List;

public interface TBusinessInfoDao {
    int deleteByPrimaryKey(Integer id);

    int insert(TBusinessInfo record);

    int insertSelective(TBusinessInfo record);

    TBusinessInfo selectByPrimaryKey(Integer id);
    TBusinessInfo selectByUserNameAndPassword(String userName,String password);
    int updateByPrimaryKeySelective(TBusinessInfo record);

    int updateByPrimaryKey(TBusinessInfo record);

    BigDecimal selectProjectedIncome(Integer businessId);

    Long selectPendingOrderNo(Integer id);

    List<TBusinessInfo> selectBusinessAll();
}